<template>
  <div>
    <get-grade-xiao-kao v-if="type==1"></get-grade-xiao-kao>
    <get-grade-biao-kao v-if="type==2"></get-grade-biao-kao>
  </div>
</template>

<script>
  import getGradeXiaoKao from "@/components/ToolSystem/Grade/getGradeXiaoKao"
  import getGradeBiaoKao from "@/components/ToolSystem/Grade/getGradeBiaoKao"
  import Cookies from "js-cookie";
  export default {
    name: "getGrade",
    components:{
      getGradeXiaoKao,
      getGradeBiaoKao
    },
    data(){
      return {
        type: '1'
      }
    },
    created(){
      const type = Cookies.get("tool_system_grade_selectExam")
      this.type = type
    },
    methods:{

    }
  }
</script>

<style scoped>
</style>
